import request from '@/utils/request'

export function GetCol () {
    return request({
        url: 'api/query/collegeAll',
        method: 'get'
    })
}

export function GetNoCol (data) {
    return request({
        url: 'api/query/collegeNo',
        method: 'post',
        data
    })
}

export function GetNameCol (data) {
    return request({
        url: 'api/query/collegeName',
        method: 'post',
        data
    })
}

export function AddCol (data) {
    return request({
        url: 'api/insert/college',
        method: 'post',
        data
    })
}

export function DelCol (data) {
    return request({
        url: 'api/delete/college',
        method: 'post',
        data
    })
}

export function SetCol (data) {
    return request({
        url: 'api/update/college',
        method: 'post',
        data
    })
}
